<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/jquery-3.4.1.min.js"></script>
	</head>
	<body>
		<ul>
			<li>111</li>
			<li>222</li>
			<li>333</li>
			<li>444</li>
			<li class="gg">555</li>
		</ul>
		
		<script type="text/javascript">
			var $aa=$("<li>你不可以不努力</li>");
			$(".gg").replaceWith($aa);
		</script>
	</body>
</html>
